package com.wuerer.bath.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuerer.bath.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User>{
    @Select("select * from user where user_name=#{name}")
    User selectByName(@Param("name") String name);
}
